I will discuss two different sets of interrupts, normal interrupts and error interrupts. 我们将讨论两种不同类型的中断:普通中断(normalinterrupt)和错误中断(errorinterrupt)。
But the traditional software time will arise the accumulative error because the time cycle is not considered perfectly, because of the interrupt response time is not confirmed, the error arose by the timer interrupt method is not rooted. 但是传统的软件定时方式由于时钟周期考虑不全容易引起累积误差,而采用定时器中断方式定时由于中断响应周期不确定性而产生的误差更具有非固定性的特点。
During the foreground program, many real-time interrupt functions are mentioned, including keyboard control, linear and arc interpolations method with searching minimum path error and serial communication. 在前台程序中,研究了键盘控制、搜寻最小误差法直线和圆弧插补和串行通信等实时中断功能;
In many device drivers, device events, such as interrupt, data arrival and device error should be sent to the applications. 在很多设备的驱动程序中都要求把设备事件,例如中断、数据到达、设备出错等通知给应用程序。
This paper analyses the time error between timer overflowing interrupt and CPU responding interrupt, states method and instance of compensating error 分析了单片机定时器溢出中断与CPU响应中断的时间误差,并给出了补偿误差的方法和实例